﻿using System;

//using System.Collections.Generic;
//using System.ComponentModel;
//using System.Data;
//using System.Drawing;
//using System.Text;
using System.Windows.Forms;
using System.Reflection;


namespace SmartMovieTime
{
    public partial class AboutForm : Form
    {
        public AboutForm()
        {
            InitializeComponent();

            System.Reflection.AssemblyProductAttribute product =
                    (System.Reflection.AssemblyProductAttribute)
                    Attribute.GetCustomAttribute(
                    System.Reflection.Assembly.GetExecutingAssembly(),
                    typeof(System.Reflection.AssemblyProductAttribute));

            lblProductName.Text = product.Product;

            Version ver = Assembly.GetExecutingAssembly().GetName().Version;
            lblVersion.Text = String.Format("v{0}.{1}.{2}", ver.Major, ver.Minor, ver.Build);
        }

        private void menuClose_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}